﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="freecardcustomer.aspx.cs" Inherits="top_freecard_freecardcustomer" %>


<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>好评有礼</title>
    <link href="../css/common.css" rel="stylesheet" />
    <style>
        td{font-size:12px;}
        a{color:Blue; text-decoration:none;}
    </style>
</head>
<body style="padding:0px; margin:0px;">
    <form id="form1" runat="server">
<div class="navigation" style="height:600px;">

  <div class="crumbs"><a href="../reviewnew/default.aspx" class="nolink">好评有礼</a> 包邮卡赠送记录 </div>
  <div class="absright">
    <ul>
      <li>
        <div class="msg">
            
        </div>
      </li>
    </ul>
  </div>
    <div id="main-content">
    请输入买家昵称：<asp:TextBox ID="search" Width="190px" runat="server"></asp:TextBox>
    <asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text="搜索" />
                <input type="button" value="返回列表" onclick="window.location.href='freecardlist.aspx'" />
                <input type="button" value="手动赠送" onclick="window.location.href='freecardsend.aspx'" />
    <asp:Button ID="Button1" runat="server" onclick="Button3_Click" Text="导出包邮卡赠送记录" />
    
    <hr />

    <table width="700" cellpadding="0" cellspacing="0">
        <tr>
                <td width="120"><b>买家昵称</b></td>
                <td width="100"><b>赠送时间</b></td>
                <td width="80"><b>免邮时间</b></td>
                <td width="80"><b>使用次数</b></td>
                <td width="80"><b>限制次数</b></td>
                <td width="60"><b>操作</b></td>
            </tr>
        <asp:Repeater ID="rptArticle" runat="server">
            <ItemTemplate>
            <tr>
                <td height="35"><%#Eval("buynick")%></td>
                <td><%#Eval("startdate")%></td>
                <td><%#Eval("carddate")%>个月</td>
                <td><%#Eval("usecount")%></td>
                <td><%#Eval("usecountlimit")%></td>
                <td><a href='freecardlog.aspx?id=<%#Eval("guid")%>'>查看使用记录</a> <!--| <a href='freecardcustomermodify.aspx?id=<%#Eval("guid")%>'>编辑</a>-->
                | <a href='freecardcustomer.aspx?id=<%#Eval("guid")%>&act=del' onclick="return confirm('您确定要删除吗，该操作不可恢复？')">删除</a> </td>
            </tr>
            </ItemTemplate>
        </asp:Repeater>
    </table>

    <div>
        <asp:Label ID="lbPage" runat="server"></asp:Label>
    </div>
    </div>
</div>

    </form>
</body>
</html>